package com.water_work_form.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 记录——在线仪表药剂入库登记表
 * </p>
 *
 * @author xuke
 * @since 2023-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RecordDrugWarehouse对象", description="记录——在线仪表药剂入库登记表")
public class RecordDrugWarehouse implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @ApiModelProperty(value = "记录名称编号，name、form_no")
    private String form;

    @ApiModelProperty(value = "在线仪表名称")
    private String deviceName;

    @ApiModelProperty(value = "药剂名称")
    private String drugName;

    @ApiModelProperty(value = "到货日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date arriveDate;

    @ApiModelProperty(value = "到货数量")
    private Double arriveQuantity;

    @ApiModelProperty(value = "药剂有效日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date effectiveDate;

    @ApiModelProperty(value = "入库人员id")
    private Long userId;

    @ApiModelProperty(value = "入库人员")
    private String userName;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "审核员备注")
    private String reviewTip;


}
